<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_users
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 * @since		1.5
 */

defined('_JEXEC') or die;

JHtml::_('behavior.keepalive');
JHtml::_('behavior.tooltip');
JHtml::_('behavior.formvalidation');

$page_heading = JText::_('WRD_USER_RESET_FORGOT_PASSWORD');
$title = JText::_('WMCVIP_TITLE_PREFIX').$page_heading.JText::_('WMCVIP_TITLE_SUFIX');
$document = &JFactory::getDocument();
$document->setTitle($title) ;

?>
<div class="row">
	<div class="twelve columns all_reward_header">
		<?php echo $page_heading; ?>
	</div>
</div>

<div class="row reset<?php echo $this->pageclass_sfx?>">
	<form id="user-registration" action="<?php echo JRoute::_('index.php?option=com_users&task=reset.request'); ?>" method="post" class="form-validate">
		<?php foreach ($this->form->getFieldsets() as $fieldset): ?>
		<p><?php echo JText::_($fieldset->label); ?></p>
		<br>
			
				<dl>
				<?php foreach ($this->form->getFieldset($fieldset->name) as $name => $field): ?>
					<dt><?php echo $field->label; ?></dt>
					<dd><?php echo $field->input; ?></dd>
				<?php endforeach; ?>
				</dl>
			
		<?php endforeach; ?>
		
		<div>

		<button class="button" type="submit" class="validate"><?php echo JText::_('JSUBMIT'); ?></button>
		<?php echo JHtml::_('form.token'); ?>

		</div>
	</form>
</div>
